function initData(page_index) {
	$.ajax({
			url : $("#Pagination").attr("url"),
			type : "post",
			cache : false,
			data : {
				currentPage : page_index,
				pageSize : $("#Pagination").attr("pageSize"),
				circleid: $("#circleid").val(),
				status: $("#status").val(),
				username: $("#username").val(),
				title: $("#title").val()
			},
			success : function(data) {
				var json=eval("("+data+")");
				var cur_role=$("#Pagination").attr("role");
				$("#Pagination").attr("recordCount",json.page.recordCount);
				$("#expTable").empty(); 			
				var str='';
				for(var i=0;i<json.info.length;i++){
					var title=json.info[i].title;
					if(title.length>18){
						title=title.substring(0,18)+'...';
					}
					str+='<tr><td class="left_title">'+title+'</td><td>'+json.info[i].username+'</td><td>'+(json.info[i].createdate).substring(0,10)			          
					     +'</td><td>'+showStatus(json.info[i].hits)+'</td>';
					if(cur_role==0){
						str+='<td>无权操作';
					}else{
						str+='<td><a type="'+formatVal(json.info[i].content)+'" onclick="view(this)">查看</a> | '
					     +'<a type="'+json.info[i].id+'" onclick="del(this)">删除</a>';
						if(json.info[i].hits<0){
							str+=' | <a type="'+json.info[i].id+'" onclick="vote(this)">批准</a>';
						}
					}					     					
					str+='</td></tr>';
				}
				if(json.info.length<=0 || str==''){
					str='<tr><td colspan="5">没有查到数据！</td></tr>';
				}
				$("#expTable").append(str);
				$.fn.refreshPagination(page_index);
			},
			error : function(xhr) {
				alert("点击过快，正在加载，请稍后再次点击!"+xhr.statusText);
			}
		});
	}
function showStatus(obj){
	if(obj=='-1'){
		return '未通过';
	}else{
		return '通过';
	}
}
function del(obj){
	if(confirm("确认要删除吗?")){
		$.post("delGroupArt", { artid: obj.type},function(data){
			goSearch();
		});
	}
}
function vote(obj){
	if(confirm("确认要批准吗?")){
		$.post("modGroupArt", { artid: obj.type},function(data){			
			$.unblockUI();
			goSearch();
		});
	}
}
function view(obj){
	if(obj!=undefined){	
		var str='<div class="blockUI"><div style="height: auto;">'+obj.type
	       +'</div><input type="button" value="关  闭" class="B1 div_close" /></div>';
	    $.blockUI({ 
	        message: str,
	        theme : true,
	        title : '<strong>文章内容<em class="div_close">X</em></strong>',
	        css: { 
	        	top:		'30%',
		        left:		'50%',
		        textAlign:	'left',
		        marginLeft:     '-320px', 
		        marginTop:      '-145px', 
	            width: '800px',
	            background:'none'
	        },
	        themedCSS: {
	    		width:	'80%',
	    		top:	'5%',
	    		left:	'10%'
	    	},
	    });
	    $(".div_close").click(function(){$.unblockUI();});
	     $('.blockOverlay').attr('title','单击关闭').click($.unblockUI);
	}else{
		alert("出错啦！");
	}
}